// Jason+ Agent directory in project directory.mas2j

{include("dir_commands.asl")}

{import phone="phone.aslm"}
{import invoice="invoice.aslm"}

/* Initial beliefs and rules */

invoice::dontActivate.

/* Initial goals */

/* Plans */

// -- Phone --
@makeCall[atomic]
+!makeCall(Ag,Minutes) <- .import(phone, "phone.aslm"); !phone::makeCall(Ag,Minutes).

@sendText[atomic]
+!sendText(Ag,Text)    <- .import(phone, "phone.aslm"); !phone::sendText(Ag,Text).

// -- Invoice --
@registerIncomingInvoice[atomic]
+!registerIncomingInvoice(Id,Price,VAT) <- .import(invoice, "invoice.aslm"); !invoice::registerIncoming(Id,Price,VAT).

@registerOutgoingInvoice[atomic]
+!registerOutgoingInvoice(Id,Price,VAT) <- .import(invoice, "invoice.aslm"); !invoice::registerOutgoing(Id,Price,VAT).


